<?php
namespace app\erp\controller;

use app\erp\model\Expressdb;

class Express extends Base
{

    protected $db;

    public $post = array();

    public function _initialize()
    {
        parent::_initialize();
        $request = request();
        $param = $request->param();
        $this->post = $param;
        $this->db = new Expressdb();
        $this->db->param = $this->post;
    }
    // 保存发票
    public function saveExpress()
    {
        $return = $this->db->ajaxSaveField();
        $this->layuiReturn('保存成功');
    }
}